package com.yh.csx.crm.service.vo;

import lombok.Data;

import java.util.List;

/**
 * FlowNodeJSON class
 *
 * @author huyalin
 * @date 2019/2/24
 */
@Data
public class FlowNodeJSON {

    private Node node;

    private List<Person> person;

    public static class Node {
        private String code;
        private String name;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public static class Person {
        private String code;
        private String name;

        public Person() {
        }

        public Person(String code, String name) {
            this.code = code;
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
